package com.mr3chi.horoscopes;

import java.util.ArrayList;
import java.util.List;

public class WebPage {
	
	public static final String HUFFINGTONPOST = "http://www.huffingtonpost.com/horoscopes/astrology/news";
	public static final String HUFFINGTONPOST_SUFIX = "/page/";
	
	private String 		pageId;
	private List<News> 	pageList;
	private int			pageNum;
	private boolean		pageEnd;
	private boolean 	isRead;
	
	public WebPage() {
		pageId = "";
		pageList 	= new ArrayList<News>();
		pageNum 	= 0;
		pageEnd 	= false;
		isRead 		= true;
	}

	public WebPage(int pageNum, boolean pageEnd, boolean isRead) {
		pageList 	= new ArrayList<News>();
		this.pageNum 	= pageNum;
		this.pageEnd 	= pageEnd;
		this.isRead 	= isRead;
	}

	public String getPageId() {
		return pageId;
	}

	public void setPageId(String pageId) {
		this.pageId = pageId;
	}

	public List<News> getPageList() {
		return pageList;
	}

	public void setPageList(List<News> pageList) {
		this.pageList = pageList;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public boolean isPageEnd() {
		return pageEnd;
	}

	public void setPageEnd(boolean pageEnd) {
		this.pageEnd = pageEnd;
	}

	public boolean isRead() {
		return isRead;
	}

	public void setRead(boolean isRead) {
		this.isRead = isRead;
	}
}
